package com.ruicar.afs.cloud.manage.common.service;


import com.ruicar.afs.cloud.image.condition.OcrDiscernCondition;
import com.ruicar.afs.cloud.manage.common.vo.BankCardOcrDiscernVo;
import com.ruicar.afs.cloud.manage.common.vo.IdCardBackOcrDiscernVo;
import com.ruicar.afs.cloud.manage.common.vo.IdCardFrontOcrDiscernVo;

/**
 * @Author chuke
 * @create 2020/9/16 21:01
 */
public interface ContractOCRInterService {
    /**
     * 获取银行卡OCR识别
     * 文件类型FileCode决定返回值和调用方法
     *
     * @param condition
     * @return
     */
    BankCardOcrDiscernVo getBankCardOcrDiscern(OcrDiscernCondition condition);

    /**
     * 获取身份证正面OCR识别
     *
     * @param condition
     * @return
     */
    IdCardFrontOcrDiscernVo getIdCardFrontOcrDiscern(OcrDiscernCondition condition);

    /**
     * 获取身份证反面OCR识别
     *
     * @param condition
     * @return
     */
    IdCardBackOcrDiscernVo getIdCardBackOcrDiscern(OcrDiscernCondition condition);
}


